/*
** Lua standard libraries
** See Copyright Notice in lua.h
*/

module dlua.lualib;
extern (C) {

private import dlua.lua;


/* Key to file-handle type */
const char* LUA_FILEHANDLE = "FILE*";


const char* LUA_COLIBNAME = "coroutine";
int luaopen_base (lua_State* L);

const char* LUA_TABLIBNAME = "table";
int luaopen_table (lua_State* L);

const char* LUA_IOLIBNAME = "io";
int luaopen_io (lua_State* L);

const char* LUA_OSLIBNAME = "os";
int luaopen_os (lua_State* L);

const char* LUA_STRLIBNAME = "string";
int luaopen_string (lua_State* L);

const char* LUA_MATHLIBNAME = "math";
int luaopen_math (lua_State* L);

const char* LUA_DBLIBNAME = "debug";
int luaopen_debug (lua_State* L);

const char* LUA_LOADLIBNAME = "package";
int luaopen_package (lua_State* L);


/* open all previous libraries */
void luaL_openlibs (lua_State* L);


} // extern (C)